/*
 * multitouch-gestr.cpp
 *
 *  Created on: Sep 26, 2009
 *      Author: damaraju
 */

#include "OscHandler.h"

int main(int argc, char **argv)
{
	cout << "Collector Started" << endl;
	OscGestureRecognition oscRecog;

	int xRes = 1;
	int yRes = 1;
	if (argc == 3)
	{
		xRes = boost::lexical_cast<int>(argv[1]);
		yRes = boost::lexical_cast<int>(argv[2]);
	}

	cout << "Scaling input to resolution: " << xRes << "x" << yRes << endl;

	OscHandler oscListener(xRes, yRes);

	initMultitouchOscReceiver(&oscListener, &oscRecog);
}
